package com.godyao.mall.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.godyao.mall.core.utils.PageUtils;
import com.godyao.mall.pms.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author godyao
 * @email godyao0801@qq.com
 * @date 2022-04-19 14:42:40
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listTree();

    Long[] getPathById(Long attrGroupId);

    void updateCascade(CategoryEntity category);
}

